package cn.com.surker.enums.mes;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * 构件耗材类型
 * @author luotao
 * @date 2023/8/4
 */
public enum MemberMaterialType implements ICodeDescEnum {

	MEMBER(0,"PC件","market_member_model"),
	TONG(1,"混凝土","sys_strength"),
	SECONDARY(2,"辅材","material_info"),
	REBAR(3,"钢筋","material_info");

	private final String description;

	private final Integer code;

	private final String table;

	MemberMaterialType(Integer code, String description,String table) {
		this.description = description;
		this.code = code;
		this.table = table;
	}

	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public Integer getCode() {
		return code;
	}

	public String getTable(){
		return table;
	}
}
